#创建接口库
add_library(thread_pool STATIC thread_pool.c)

#设置包含目录
target_include_directories(thread_pool
        PUBLIC
        ${CMAKE_CURRENT_SOURCE_DIR}
)

#连接线程库
target_link_libraries(thread_pool
        INTERFACE
        Threads::Threads
)

#设置编译特性
#target_compile_features(thread_pool INTERFACE cxx_std_17)